/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const chapterRouter = {
  path: '/chapter',
  component: Layout,
  redirect: 'noRedirect',
  name: 'ChapterManager',
  meta: {
    title: '用章管理',
    icon: 'el-icon-s-check',
    roles: ['ROLE_Chapter_Show']
  },
  children: [
    {
      path: 'chapterlist',
      component: () => import('@/views/chapter'),
      name: 'ChapterList',
      meta: { title: '用章管理', roles: ['ROLE_Chapter_Show'], noCache: true }
    }
  ]
}

export default chapterRouter
